<template>
  <div id="app">
    <el-container>

      <Aside></Aside>

      <el-container style="border: 1px">
        <el-header>
          <Header></Header>
        </el-header>

        <el-main>
          <router-view>
          </router-view>
        </el-main>

      </el-container>
    </el-container>
  </div>
</template>
<script>

import NewsAdd from "@/components/admin/NewsAdd";
import Header from "@/components/admin/Header";
import Aside from "@/components/admin/Aside";
import Main from "@/components/admin/Main";

export default {
  name: "Index",
  components: {NewsAdd, Header, Aside, Main},
  comments: {
    Header,
    Aside,
    Main,
    NewsAdd,

  }
}
</script>

<style>


/*.el-main {
  background-color: #E9EEF3;
  color: #333;
  text-align: center;
  line-height: 575px;
}

body > .el-container {
  margin-bottom: 40px;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
  line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
  line-height: 320px;
}*/
.el-header {
  background-color: #545c64;
  color: #ffffff;
  text-align: center;
  font-size: large;
  line-height: 60px;
  width: 100%;
}
</style>